#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QPixmap pixmap(":/football");
    pixmap = pixmap.scaled(100, 100);
    QCursor cursor(pixmap, 10, 10);
    this->setCursor(pixmap);
}

Widget::~Widget()
{
    delete ui;
}

